<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Fablab-Fribourg</title>
	<link rel="icon" type="image/ico" href="./favicon.ico">

	<meta name="viewport" content="width=device-width, initial-scale=1">

	<!-- build:css css/app-name.min.css -->
	<!-- Bootstrap -->
	<link href="./ext-lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
	<link href="./ext-lib/fullcalendar/dist/fullcalendar.min.css" rel="stylesheet">
	<link href="./ext-lib/ng-table/bundles/ng-table.min.css" rel="stylesheet">
	<link href="./ext-lib/ui-select/dist/select.min.css" rel="stylesheet">
	<link href="./ext-lib/toastr/build/toastr.min.css" rel="stylesheet">
	<link href="./ext-lib/components-font-awesome/css/font-awesome.min.css" rel="stylesheet">

	<link href="./css/application.css" rel="stylesheet">

	<link href="./components/audit/style.css" rel="stylesheet">
	<link href="./components/accounting/style.css" rel="stylesheet">
	<link href="./components/asset/style.css" rel="stylesheet">
	<link href="./components/auth/style.css" rel="stylesheet">
	<link href="./components/machine/style.css" rel="stylesheet">
	<link href="./components/payment/style.css" rel="stylesheet">
	<link href="./components/reservation/style.css" rel="stylesheet">
	<link href="./components/user/style.css" rel="stylesheet">
	<!-- endbuild -->


</head>
<body ng-app="Fablab">

<toast></toast>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container-fluid">
		<div class="navbar-header">
			<button type="button"
					class="navbar-toggle collapsed"
					data-toggle="collapse"
					data-target="#navbar"
					aria-expanded="false"
					aria-controls="navbar">
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand">Fablab-Fribourg</a>
		</div>
		<div id="navbar" class="collapse navbar-collapse">
			<ul class="nav navbar-nav">
				<li fab-nav-item link="home" icon="home"
					label="menu.home"></li>
				<!--<li fab-nav-item link="projects" icon="file" -->
				<!--label="menu.projects" ></li>-->
				<li fab-nav-item link="payments" icon="shopping-cart"
					label="menu.payment"
					show="hasAnyRole('PAYMENT_VIEW')"></li>
				<li fab-nav-item link="accounting" icon="money"
					label="menu.accounting"
					show="hasAnyRole('ACCOUNTING_VIEW')"></li>
				<li fab-nav-item link="audit" icon="bars"
					label="menu.audit"
					show="hasAnyRole('AUDIT_VIEW')"></li>
				<li fab-nav-item link="users" icon="user"
					label="menu.users"
					show="hasAnyRole('USER_VIEW')"></li>

				<li class="dropdown">
					<a href="" class="dropdown-toggle" type="button" id="menu1" data-toggle="dropdown">
						<span class="fa fa-cog"></span> {{'menu.others'| translate}}
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu" role="menu" aria-labelledby="menu1">
						<li fab-nav-item link="assets" icon="picture-o"
							label="menu.assets"
							show="hasAnyRole('ASSET_UPLOAD')"></li>
						<li fab-nav-item link="machines" icon="wrench"
							label="menu.machines"></li>
						<li fab-nav-item link="reservations" icon="calendar"
							label="menu.reservation"
							show="hasAnyRole('RESERVATION_VIEW')"></li>
					</ul>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">

				<!--<li fab-nav-item link="signup" icon="heart"-->
					<!--label="menu.signup"-->
					<!--show="!connectedUser.connected"></li>-->
				<li fab-nav-item link="login" icon="sign-in"
					label="menu.login"
					show="!connectedUser.connected"></li>
				<li fab-nav-item link="profil" icon="wrench"
					label="{{connectedUser.user| prettyUser}}"
					show="connectedUser.connected"></li>
				<li fab-nav-item link="logout" icon="sign-out"
					label="menu.logout"
					show="connectedUser.connected"></li>
			</ul>
		</div>
	</div>
</nav>

<div class="container-fluid" id="main-container">
	<div ng-view id="main-view"></div>
</div>
<div id="footer">
	<a href="https://github.com/gaetancollaud/fablab-api">
		<img class="github" src="images/github.png" alt="github logo">
		Fablab Manager
	</a>
	is an open-source application
</div>

<script src="./constants.js"></script>

<!-- build:js js/app-name.min.js -->

<script src="./ext-lib/jquery/dist/jquery.min.js"></script>

<script src="./ext-lib/bootstrap/dist/js/bootstrap.min.js"></script>

<script src="./ext-lib/angular/angular.min.js"></script>
<script src="./ext-lib/angular-route/angular-route.min.js"></script>
<script src="./ext-lib/angular-sanitize/angular-sanitize.min.js"></script>
<script src="./ext-lib/angular-resource/angular-resource.min.js"></script>
<script src="./ext-lib/ng-file-upload/dist/ng-file-upload-all.min.js"></script>
<script src="./ext-lib/moment/min/moment-with-locales.min.js"></script>
<script src="./ext-lib/moment-range/dist/moment-range.js"></script>
<script src="./ext-lib/fullcalendar/dist/fullcalendar.min.js"></script>
<script src="./ext-lib/fullcalendar/dist/gcal.min.js"></script>
<script src="./ext-lib/angular-ui-calendar/src/calendar.js"></script>
<script src="./ext-lib/angular-translate/dist/angular-translate.min.js"></script>
<script src="./ext-lib/ng-table/bundles/ng-table.min.js"></script>
<script src="./ext-lib/ui-select/dist/select.min.js"></script>
<script src="./ext-lib/angular-bootstrap/ui-bootstrap.min.js"></script>
<script src="./ext-lib/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script src="./ext-lib/toastr/build/toastr.min.js"></script>
<script src="./ext-lib/wizmarkdown/wizMarkdown/wizMarkdown.js"></script>
<script src="./ext-lib/masonry-layout/dist/masonry.pkgd.min.js"></script>
<script src="./ext-lib/angular-elastic/elastic.js"></script>

<script src="./app.js"></script>

<script src="./lib/services/httpInterceptor.js"></script>
<script src="./lib/services/loader.js"></script>
<script src="./lib/services/notification.js"></script>
<script src="./lib/services/modal.js"></script>

<script src="./lib/filters/core.js"></script>
<script src="./lib/filters/date.js"></script>
<script src="./lib/filters/select.js"></script>
<script src="./lib/filters/currency.js"></script>
<script src="./lib/filters/file.js"></script>

<script src="./lib/directives/naviguation/naviguation-item.js"></script>
<script src="./lib/directives/form/form.js"></script>
<script src="./lib/directives/form/date.js"></script>
<script src="./lib/directives/form/date-preset.js"></script>
<script src="./lib/directives/form/recaptcha.js"></script>
<script src="./lib/directives/form/dropfile.js"></script>
<script src="./lib/directives/form/markdown-editor.js"></script>
<script src="./lib/directives/calendar/calendar.js"></script>
<script src="./lib/directives/masonry/masonry-grid.js"></script>
<script src="./lib/directives/masonry/masonry-grid-item.js"></script>
<script src="./lib/directives/utils/reallyClick.js"></script>
<script src="./lib/directives/utils/no-image.js"></script>

<script src="./i18n/en.js"></script>
<script src="./i18n/fr.js"></script>

<script src="./components/services/accounting-service.js"></script>
<script src="./components/services/asset-service.js"></script>
<script src="./components/services/audit-service.js"></script>
<script src="./components/services/auth-service.js"></script>
<script src="./components/services/machine-service.js"></script>
<script src="./components/services/machine-type-service.js"></script>
<script src="./components/services/membership-type-service.js"></script>
<script src="./components/services/payment-service.js"></script>
<script src="./components/services/reservation-service.js"></script>
<script src="./components/services/static-data-service.js"></script>
<script src="./components/services/user-service.js"></script>

<script src="./components/dashboard/home-ctrl.js"></script>

<script src="./components/asset/list-ctrl.js"></script>
<script src="./components/asset/asset-list-directive.js"></script>
<script src="./components/asset/asset-select-directive.js"></script>

<script src="./components/auth/login-ctrl.js"></script>
<script src="./components/auth/logout-ctrl.js"></script>
<script src="./components/user/signup-ctrl.js"></script>
<script src="./components/auth/forgot-password-ctrl.js"></script>

<script src="./components/user/user-filters.js"></script>
<script src="./components/user/directive-groups.js"></script>
<script src="./components/user/directive-subscription.js"></script>
<script src="./components/user/list-ctrl.js"></script>
<script src="./components/user/edit-ctrl.js"></script>
<script src="./components/user/profil-ctrl.js"></script>

<script src="./components/reservation/list-ctrl.js"></script>
<script src="./components/reservation/edit-ctrl.js"></script>
<script src="./components/reservation/directive-reservation-day.js"></script>

<script src="./components/payment/by-user-ctrl.js"></script>
<script src="./components/payment/directive-user-payment-history.js"></script>
<script src="./components/payment/directive-add-usage.js"></script>
<script src="./components/payment/directive-add-payment.js"></script>
<script src="./components/payment/directive-add-subscription.js"></script>

<script src="./components/accounting/accounting-list-ctrl.js"></script>

<script src="./components/audit/audit-list-ctrl.js"></script>

<script src="./components/machine/machine-list-ctrl.js"></script>
<script src="./components/machine/machine-view-ctrl.js"></script>
<script src="./components/machine/machine-edit-ctrl.js"></script>

<script src="https://apis.google.com/js/client.js?onload=OnLoadCallback"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>

<!-- endbuild -->
</body>
</html>